﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace FirstTry.Model
{
    [DataContract]
   public class Leased : Reservation
    {
        [DataMember]
        public bool done { get; set; }

        public Leased(Reservation r, bool done) 
            : base(r.u, r.b,r.timeStamp)
        {
            this.done = done;
        }

        public Leased(Reservation r, bool done, int ID)
            : base(r.u, r.b, r.timeStamp)
        {
            this.ID = ID;
            this.done = done;
        }

        public Leased()
            : base()
        {
        }
    }
}
